package com.ruiysoft.entity.logistics;


import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author AUTO GEN
 * @since 2018-11-17
 */
@TableName("logistics_final_detail")
public class LogisticsFinalDetail extends Model<LogisticsFinalDetail> {

    private static final long serialVersionUID = 1L;

    /**
     * Same as id of table logistics_final_state
     */
    private Integer id;

    private String content;

    @TableField("gmt_create")
    private Date gmtCreate;

    @TableField("gmt_modified")
    private Date gmtModified;

    public Integer getId() {
        return id;
    }

    public LogisticsFinalDetail setId(Integer id) {
        this.id = id;
        return this;
    }

    public String getContent() {
        return content;
    }

    public LogisticsFinalDetail setContent(String content) {
        this.content = content;
        return this;
    }

    public Date getGmtCreate() {
        return gmtCreate;
    }

    public LogisticsFinalDetail setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
        return this;
    }

    public Date getGmtModified() {
        return gmtModified;
    }

    public LogisticsFinalDetail setGmtModified(Date gmtModified) {
        this.gmtModified = gmtModified;
        return this;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "LogisticsFinalDetail{" +
                "id=" + id +
                ", content=" + content +
                ", gmtCreate=" + gmtCreate +
                ", gmtModified=" + gmtModified +
                "}";
    }
}
